//
//  YbrMyConfig.m
//  wifibox
//
//  Created by os X 10.9 on 14-12-12.
//  Copyright (c) 2014年 yinbaner. All rights reserved.
//  这里就是放置一些常量

#import "YbrMyConfig.h"

@implementation YbrMyConfig

static YbrMyConfig * _myConfig;

+(id) myConfigInit {
    @synchronized ([YbrMyConfig class]) {
        if (_myConfig == nil) {
            _myConfig                   =   [[YbrMyConfig alloc] init];
            _myConfig.chooseMap         =   [NSMutableDictionary dictionary];
            _myConfig.copyClockTimeId   =   -1;
        }
    }
    return _myConfig;
}


// 清除所有
-(void) clearAllConfig {
    _myConfig.allTime       =   0;
    _myConfig.ybrbeginTime  =   0;
    _myConfig.ybrendTime    =   0;
    _myConfig.chooseTime    =   0;
    if(_myConfig.chooseMap != nil) {
        [_myConfig.chooseMap removeAllObjects];
    }
    _myConfig.realBeginTime =   0;
    _myConfig.realEndTime   =   0;
    _myConfig.clocktimeid   =   -1;
}



@end
